import { request } from "./request";

export function FetchGetMachineTypes() {
  return request({
    url: "/FactoryInfo/EquipTypes",
  });
}
// 新增设备
export function FetchAddMachineData(data) {
  return request({
    url: "/FactoryInfo/EquipType",
    method: "post",
    data: data,
  });
}
// 更新设备
export function FetchUpdateMachineData(data) {
  return request({
    url: "/FactoryInfo/EquipType",
    method: "put",
    data: data,
  });
}
